A04 - Binary Representation 1
https://atcoder.jp/contests/tessoku-book/tasks/tessoku_book_d
提出
code: python
n = int(input())
while n > 1:
if n % 2 == 1:
n //= 2
解答
code: python
n = int(input())
for x in range(9, -1, -1):
wari = (2 ** x)
print((n // wari) % 2, end='')
print("")